import { axios } from '@/utils/request'

export function getBlackList (params) {
    return axios({
        url: 'blacklist',
        method: 'get',
        params
    })
}

export function deleteBlackList (id) {
    return axios({
        url: 'blacklist/' + id,
        method: 'delete'
    })
}

export function addBlackList (data) {
    return axios({
        url: 'blacklist',
        method: 'post',
        data
    })
}
